//
// Created by YeMingMing on 2024-03-05.
//

// 给百分制分数按要求输出等级

// n>=90,A;90>n>=80,B;80>n>=70,C;70> n>=60,D;60>n,E:

#include <stdio.h>

char judge(int num) {
    switch (num/10) {
        case 9: return  'A';
        case 8: return  'B';
        case 7: return  'C';
        case 6: return  'D';
        default: return 'E';
    }
}


int main() {
    printf("%c", judge(40));
    return  0;
}
